﻿using System;
using Microsoft.Surface.Presentation.Input;

namespace ZOIL.Library.Devices
{
    public class SurfaceInputBehavior : TouchInputBehavior
    {
        protected override void OnAttached()
        {
            if (Environment.OSVersion.Version.Major <= 5) return;

            CurrentWindow.EnableSurfaceInput();
            base.OnAttached();
        }
    }
}
